package com.example.fireassistant_server.service;

import com.example.fireassistant_server.dto.company.CompanyCreateRequest;
import com.example.fireassistant_server.dto.company.CompanyDto;
import com.example.fireassistant_server.dto.company.CompanySearchFilter;
import com.example.fireassistant_server.dto.company.CompanyUpdateRequest;
import com.example.fireassistant_server.entity.Company;
import org.springframework.data.domain.Page;

public interface CompanyService {

    CompanyDto create(CompanyCreateRequest companyCreateRequest);

    Company get(String id);

    Page<CompanyDto> search(CompanySearchFilter companySearchFilter);

    void delete(String id);

    CompanyDto update(String id, CompanyUpdateRequest companyUpdateRequest);
}
